package com.ruoyi.quartz.task;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.ruoyi.blogs.service.IBsBrowseHistoryService;

@Component("bsTask")
public class BsTask {
  @Autowired
  private IBsBrowseHistoryService bsBrowseHistoryService;
  
  public void bsHistoryDelete(){
      bsBrowseHistoryService.deleteBsBrowseHistorySevenDay();
      System.out.println("执行删除浏览历史");
    }
}
